$def with(form, avatar_path)
$var title: 修改头像 
$var gmap: 0


<div class="left_side">
    <form method="POST" enctype="multipart/form-data">
        $if avatar_path:
            <img src="$avatar_path" alt=$context.user>
        $:form.avatar.render()
        <p><input type="submit" value="上传头像"/> </p>
        <p><a href="/setting">确定</a></p>
    </form>
</div>
<div class="right_side">
</div>
